DEFINES += NOMINMAX
DEFINES += _REENTRANT
DEFINES += HAVE_PROTOTYPE_GETHOSTNAME

QMAKE_CFLAGS_RELEASE += /MD
QMAKE_CFLAGS_DEBUG += /MDd
QMAKE_CXXFLAGS_RELEASE += /MD
QMAKE_CXXFLAGS_DEBUG += /MDd

CONFIG(release, debug|release) {
INCLUDEPATH += $$"C:\Program Files (X86)\DCMTK_MD\include"
LIBS += $$"C:\Program Files (X86)\DCMTK_MD\lib\*.lib"
} else {
INCLUDEPATH += $$"C:\Program Files (X86)\DCMTK_MD\include"
LIBS += $$"C:\Program Files (X86)\DCMTK_MDd\lib\*.lib"
}

LIBS += advapi32.lib wsock32.lib netapi32.lib user32.lib
